package common;

/**
 * 服务映射配置
 */
public class ServiceMapping {
    // 服务名称
    private String name;

    // 远程端口 - 代理服务器上的映射端口
    private int remotePort;

    // 本地服务地址
    private String localHost;

    // 本地服务端口
    private int localPort;

    // 协议类型 - TCP 或 HTTP
    private String protocol;

    // Getters and setters

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getRemotePort() {
        return remotePort;
    }

    public void setRemotePort(int remotePort) {
        this.remotePort = remotePort;
    }

    public String getLocalHost() {
        return localHost;
    }

    public void setLocalHost(String localHost) {
        this.localHost = localHost;
    }

    public int getLocalPort() {
        return localPort;
    }

    public void setLocalPort(int localPort) {
        this.localPort = localPort;
    }

    public String getProtocol() {
        return protocol;
    }

    public void setProtocol(String protocol) {
        this.protocol = protocol;
    }
}
